package Sorts;

public class ComicBooks extends Books {
    private String author;
    private String introduction;

    public ComicBooks(String name,int pages,int degree,int sort,String author,String introduction) {
        super(name,pages,degree,sort);
        this.author = author;
        this.introduction = introduction;
    }

    public String getAuthor() {
        return author;
    }
    public void setAuthor(String author) {
        this.author = author;
    }

    public String getIntroduction() {
        return introduction;
    }
    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    @Override
    public String toString() {
        return super.toString()+ "作者是：" + author + ",简介：" + introduction;
    }
}
